
#include <windows.h>

#include <commctrl.h>
#include <vector>
#include "simplewindow.h"
#include "HookAPI.H"

HMODULE get_module_handle_by_addr( DWORD addr );
void add_mod_bytes( int idx,int dwBytes );
int find_mod_path( HMODULE* pmods,int cmods );
void init_tree_ctrl(HWND hwnd );
void expand_modules_tree();
void clear_modules_tree();
void set_modules_tree_item( int idx,bool update );
void create_modules_tree( mod_vec_t& mod_vec );
inline char* ntos(char* buf,int n)
{
	_itoa( n,buf,10 );
	return buf;
}


extern mod_vec_t __mods_vec;